﻿@if (Request.IsAuthenticated)
{
    <text>
        Logged in as <span class="username"><b>@Html.Encode(User.Identity.Name)</b></span>
        @Html.ActionLink("Sign Out", "SignOut", "Customer")
    </text>
}
else
{
    <ul>
        <li>@Html.ActionLink("Register", "Register", "Customer")</li>
        <li>@Html.ActionLink("Sign in", "SignIn", "Customer")</li>
    </ul>
}
